import {request} from "../../network/request"
//获取分类信息
export function getFenLeiList(res){
  return new Promise((rev,rej) =>{
    request({
      url:"/api/public/v1/categories"
    })
    .then(res => {
      rev(res)
    })
    .catch(err => {
      rej(err)
    })
  })
}